package vn.student.Adapter;

import vn.student.database.SQLDataHelper;
import android.app.Activity;
import android.view.View;
import android.widget.ListView;

public class ManagePage {
    View v;
    Activity activity;

    SQLDataHelper mSQLHelper;

    public ManagePage(Activity activity, SQLDataHelper SQLHelper) {
	this.activity = activity;
	
	this.mSQLHelper=SQLHelper;
    }

    public View getLayout(int postion) {
	switch (postion) {
	case 0:
	    PageCaNhan pageCaNhan = new PageCaNhan(activity, mSQLHelper);
	    return pageCaNhan.getView();

	case 1:
	    PageThongBao pageThongBao = new PageThongBao(activity, mSQLHelper);
	    return pageThongBao.getView();
	case 2:

	    break;

	default:
	    break;
	}
	return v;
    }

    static class HorderList {
	ListView list;
    }
}
